package com.code.wflow.constants;

/**
 * @author ggh
 * @date 2022/11/8
 * 流程实例阶段
 */
public enum InstanceStage {
    NOT_STARTED((byte) 0, "未开始"),
    PROGRESSING((byte) 1, "进行中"),
    END((byte) 2, "结束");

    private Byte val;

    private String msg;

    InstanceStage(Byte val, String msg) {
        this.val = val;
        this.msg = msg;
    }

    public String getMsg() {
        return msg;
    }

    public Byte getVal() {
        return val;
    }
}
